﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Itau.IM.Carimbador.Contract" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Itau.IM.Carimbador.Contract" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/Itau.IM.Carimbador.EntityObject" />
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="ConsultarRegularSemPrazoRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="AreaRechamada" nillable="true" type="tns:ConsultarRechamada" />
      <xs:element minOccurs="0" name="BaseConversao" type="tns:EnumBaseConversao" />
      <xs:element minOccurs="0" name="CodigoProdutoFinanceiroDerivado" type="xs:int" />
      <xs:element minOccurs="0" name="DataHoraOperacao" type="xs:dateTime" />
      <xs:element minOccurs="0" name="FlagRecarimbo" type="xs:int" />
      <xs:element minOccurs="0" name="NomeUsuario" nillable="true" type="xs:string" />
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/Itau.IM.Carimbador.EntityObject" minOccurs="0" name="Parametros" nillable="true" type="q1:ArrayOfParametroEO" />
      <xs:element minOccurs="0" name="TipoFluxo" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ConsultarRegularSemPrazoRequest" nillable="true" type="tns:ConsultarRegularSemPrazoRequest" />
  <xs:complexType name="ConsultarRechamada">
    <xs:sequence>
      <xs:element minOccurs="0" name="CodigoPrimeiraCurva" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoTerceiraCurva" type="xs:int" />
      <xs:element minOccurs="0" name="DataPtoPrimeiraCurva" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DataPtoTerceiraCurva" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ConsultarRechamada" nillable="true" type="tns:ConsultarRechamada" />
  <xs:simpleType name="EnumBaseConversao">
    <xs:restriction base="xs:string">
      <xs:enumeration value="SemConversao" />
      <xs:enumeration value="FatorAcumulado">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DiasCorridos30">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DiasCorridos360">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DiasUteis252">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PrecoUnitario" />
      <xs:enumeration value="Over" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="EnumBaseConversao" nillable="true" type="tns:EnumBaseConversao" />
  <xs:complexType name="ConsultarRegularSemPrazoResponse">
    <xs:sequence>
      <xs:element minOccurs="0" name="AreaControle" nillable="true" type="tns:ConsultarControle" />
      <xs:element minOccurs="0" name="CodigoPrimeiraCurva" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoRetorno" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoTerceiraCurva" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoTipoValor" type="xs:int" />
      <xs:element minOccurs="0" name="FlagUtilizacaoCurvaDefault" type="xs:int" />
      <xs:element minOccurs="0" name="IndicadorFimPrimeiraCurva" type="ser:char" />
      <xs:element minOccurs="0" name="IndicadorFimTerceiraCurva" type="ser:char" />
      <xs:element minOccurs="0" name="MensagemRetorno" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NomeIndexador" nillable="true" type="xs:string" />
      <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/Itau.IM.Carimbador.EntityObject" minOccurs="0" name="PrimeiraCurva" nillable="true" type="q2:ArrayOfPontoCurvaEO" />
      <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/Itau.IM.Carimbador.EntityObject" minOccurs="0" name="TerceiraCurva" nillable="true" type="q3:ArrayOfPontoCurvaEO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ConsultarRegularSemPrazoResponse" nillable="true" type="tns:ConsultarRegularSemPrazoResponse" />
  <xs:complexType name="ConsultarControle">
    <xs:sequence>
      <xs:element minOccurs="0" name="AreaChaves" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CampoErro" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CodigoErro" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CodigoRetornoExterno" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CodigoSQL" type="xs:short" />
      <xs:element minOccurs="0" name="IndicadorErros" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Mensagem" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MensagemSQL" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NomeTabela" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PontoErro" type="xs:short" />
      <xs:element minOccurs="0" name="ProgramaErro" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ConsultarControle" nillable="true" type="tns:ConsultarControle" />
  <xs:complexType name="ConsultarRegularComPrazoRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="AreaRechamada" nillable="true" type="tns:ConsultarRechamada" />
      <xs:element minOccurs="0" name="BaseConversao" type="tns:EnumBaseConversao" />
      <xs:element minOccurs="0" name="CodigoProdutoFinanceiroDerivado" type="xs:int" />
      <xs:element minOccurs="0" name="DataHoraOperacao" type="xs:dateTime" />
      <xs:element minOccurs="0" name="FlagRecarimbo" type="xs:int" />
      <xs:element minOccurs="0" name="NomeUsuario" nillable="true" type="xs:string" />
      <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/Itau.IM.Carimbador.EntityObject" minOccurs="0" name="Parametros" nillable="true" type="q4:ArrayOfParametroEO" />
      <xs:element minOccurs="0" name="PrazoVencimento" type="xs:dateTime" />
      <xs:element minOccurs="0" name="TipoFluxo" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ConsultarRegularComPrazoRequest" nillable="true" type="tns:ConsultarRegularComPrazoRequest" />
  <xs:complexType name="ConsultarRegularComPrazoResponse">
    <xs:sequence>
      <xs:element minOccurs="0" name="AreaControle" nillable="true" type="tns:ConsultarControle" />
      <xs:element minOccurs="0" name="CodigoPrimeiraCurva" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoRetorno" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoTerceiraCurva" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoTipoValor" type="xs:int" />
      <xs:element minOccurs="0" name="FlagUtilizacaoCurvaDefault" type="xs:int" />
      <xs:element minOccurs="0" name="MensagemRetorno" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NomeIndexador" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ValorTransferPrice" type="xs:double" />
      <xs:element minOccurs="0" name="ValorTransferPriceTerceiraCurva" type="xs:double" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ConsultarRegularComPrazoResponse" nillable="true" type="tns:ConsultarRegularComPrazoResponse" />
  <xs:complexType name="ConsultarIrregularRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="AreaRechamada" nillable="true" type="tns:ConsultarRechamada" />
      <xs:element minOccurs="0" name="BaseConversao" type="tns:EnumBaseConversao" />
      <xs:element minOccurs="0" name="BaseTIR" type="xs:short" />
      <xs:element minOccurs="0" name="BaseTaxaOperacao" type="xs:short" />
      <xs:element minOccurs="0" name="CodigoProdutoFinanceiroDerivado" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoTipoAmortizacao" type="xs:int" />
      <xs:element minOccurs="0" name="DataHoraOperacao" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DataReferencia" type="xs:dateTime" />
      <xs:element minOccurs="0" name="FlagRecarimbo" type="xs:int" />
      <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/Itau.IM.Carimbador.EntityObject" minOccurs="0" name="FluxoCaixa" nillable="true" type="q5:ArrayOfFluxoCaixaEO" />
      <xs:element minOccurs="0" name="NomeUsuario" nillable="true" type="xs:string" />
      <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/Itau.IM.Carimbador.EntityObject" minOccurs="0" name="Parametros" nillable="true" type="q6:ArrayOfParametroEO" />
      <xs:element minOccurs="0" name="TaxaOperacao" type="xs:double" />
      <xs:element minOccurs="0" name="TipoFluxo" type="xs:unsignedByte" />
      <xs:element minOccurs="0" name="ValorPrincipalBruto" type="xs:double" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ConsultarIrregularRequest" nillable="true" type="tns:ConsultarIrregularRequest" />
  <xs:complexType name="ConsultarIrregularResponse">
    <xs:sequence>
      <xs:element minOccurs="0" name="AreaControle" nillable="true" type="tns:ConsultarControle" />
      <xs:element minOccurs="0" name="CodigoPrimeiraCurva" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoTerceiraCurva" type="xs:int" />
      <xs:element minOccurs="0" name="FlagUtilizacaoCurvaDefault" type="xs:unsignedByte" />
      <xs:element minOccurs="0" name="NomeIndexador" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NomeIndexadorTerceiraCurva" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="QuantidadeParcelas" type="xs:int" />
      <xs:element minOccurs="0" name="ValorTIR" type="xs:float" />
      <xs:element minOccurs="0" name="ValorTIRTerceiraCurva" type="xs:float" />
      <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/Itau.IM.Carimbador.EntityObject" minOccurs="0" name="ValoresParcelas" nillable="true" type="q7:ArrayOfValorParcelaEO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ConsultarIrregularResponse" nillable="true" type="tns:ConsultarIrregularResponse" />
  <xs:complexType name="ConsultarTaxaTransferPriceRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="BaseTIR" type="xs:int" />
      <xs:element minOccurs="0" name="BaseTaxaCliente" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoCategoriaPosTaxaCliente" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoClassificacaocontabil" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoEmpresa" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CodigoProdutoFinanceiroDerivado" type="xs:int" />
      <xs:element minOccurs="0" name="ComponentePosTaxaCliente" type="xs:double" />
      <xs:element minOccurs="0" name="ComponentePreTaxaCliente" type="xs:double" />
      <xs:element minOccurs="0" name="DataHoraOperacao" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DataReferenciaOperacao" type="xs:dateTime" />
      <xs:element minOccurs="0" name="FlagRecarimbo" type="xs:int" />
      <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/Itau.IM.Carimbador.EntityObject" minOccurs="0" name="FluxoCaixa" nillable="true" type="q8:ArrayOfFluxoCaixaEO" />
      <xs:element minOccurs="0" name="MetodoCalculoTaxa" type="xs:int" />
      <xs:element minOccurs="0" name="NomeUsuario" nillable="true" type="xs:string" />
      <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/Itau.IM.Carimbador.EntityObject" minOccurs="0" name="Parametros" nillable="true" type="q9:ArrayOfParametroEO" />
      <xs:element minOccurs="0" name="QuantidadeDatasVencimento" type="xs:int" />
      <xs:element minOccurs="0" name="QuantidadeDiasCarencia" type="xs:int" />
      <xs:element minOccurs="0" name="QuantidadeParamentros" type="xs:int" />
      <xs:element minOccurs="0" name="QuantidadeParcelas" type="xs:int" />
      <xs:element minOccurs="0" name="Segmento" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TipoAmortizacao" type="xs:int" />
      <xs:element minOccurs="0" name="TipoEmpresa" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ValorPrincipalBruto" type="xs:double" />
      <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/Itau.IM.Carimbador.EntityObject" minOccurs="0" name="Vencimentos" nillable="true" type="q10:ArrayOfDataVencimentoEO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ConsultarTaxaTransferPriceRequest" nillable="true" type="tns:ConsultarTaxaTransferPriceRequest" />
  <xs:complexType name="ConsultarTaxaTransferPriceResponse">
    <xs:sequence>
      <xs:element minOccurs="0" name="AreaControle" nillable="true" type="tns:ConsultarControle" />
      <xs:element minOccurs="0" name="CodigoCategoriaMercadoPrimeiraCurva" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoCategoriaMercadoTerceiraCurva" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoMesaOperacaoPrimeiraCurva" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoMesaOperacaoTerceiraCurva" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoPrimeiraCurva" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoSubMesaOperacaoPrimeiraCurva" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoSubMesaOperacaoTerceiraCurva" type="xs:int" />
      <xs:element minOccurs="0" name="CodigoTerceiraCurva" type="xs:int" />
      <xs:element minOccurs="0" name="FlagUtilizacaoCurvaDefault" type="xs:int" />
      <xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/Itau.IM.Carimbador.EntityObject" minOccurs="0" name="Parcelas" nillable="true" type="q11:ArrayOfValorParcelaEO" />
      <xs:element minOccurs="0" name="QuantidadeParcelas" type="xs:int" />
      <xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/Itau.IM.Carimbador.EntityObject" minOccurs="0" name="TaxasPrimeiraCurva" nillable="true" type="q12:ArrayOfTaxaClienteEO" />
      <xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/Itau.IM.Carimbador.EntityObject" minOccurs="0" name="TaxasTerceiraCurva" nillable="true" type="q13:ArrayOfTaxaClienteEO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ConsultarTaxaTransferPriceResponse" nillable="true" type="tns:ConsultarTaxaTransferPriceResponse" />
</xs:schema>